import { Entity, DateTime, MemberId, PrimaryUuid, Remark, Code, CreateDate, UpdateDate, Uuid } from '@sker/core'

@Entity({
    name: 'kd_leave_request'
})
export class KdLeaveRequest {

    @PrimaryUuid()
    id: string;

    @MemberId()
    member_id: string;

    @DateTime()
    start_time: Date;

    @DateTime()
    end_time: Date;

    @Remark()
    reason: string;

    @Code()
    status: string;

    @Uuid()
    leave_type_id: string;

    @Uuid()
    agent_id: string;

    @Uuid()
    shop_id: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    udpate_date: Date;
}